<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>会员中心-一览网</title>
    <link rel="stylesheet" href="css/common.css">
    <link rel="stylesheet" href="css/member.css">
    <script type="text/javascript" src="js/jquery-3.4.1.min.js"></script>
    <script type="text/javascript" src="js/layer/layer.js"></script>
</head>
<body>
<header>
    <div class="m_top">
        <div class="m_top_bar">
            <div class="m_top_login fl">
                <p><b>13814503433</b> <img src="images/right.png">  <a href="member_index.html">会员中心</a> | <a href="">退出</a></p>
            </div>
            <div class="m_top_search fl">
                <form method="get" action="">
                    <div class="m_search_warp">
                        <i class="ico ico-zoom"></i>
                        <input type="text" value="" placeholder="请输入化学品的中文名，英文名或CAS号" class="m_search_txt">
                    </div>
                    <input type="submit" value="搜索" class="m_search_sub">
                </form>
            </div>
            <div class="m_top_nav rg_menu fr">
                <ul>
                    <li><a href="index.html">平台首页</a><span>|</span></li>
                    <li><div class="show_qrcode"> <img src="images/er-icon.png" class="simple">二维码 <span>|</span><div class="tip-qrcode"><img src="images/qrcode.jpg"></div></div></li>
                    <li class="kf"><a href="javascript:;" class="td">客服中心</a><span>|</span>
                        <div class="kf_child hidden">
                            <ul>
                                <li><a href="help.html">帮助中心</a> </li>
                                <li><a href="feedback.html">反馈意见</a> </li>
                                <li><a href="contact.html">联系我们</a> </li>
                            </ul>
                        </div>
                    </li>
                    <li><a href=""  class="td">网站地图</a></li>
                </ul>
            </div>
        </div>
    </div>
</header>

<div class="clearfix"></div>

<div class="contain pt20">

    <div class="m_content">
        <div class="m_menu fl">
            <div class="mt_menu">
                <dl>
                    <dt class="mn1">会员首页</dt>
                    <dd><a href="member_index.html">会员首页</a></dd>
                </dl>
                <dl>
                    <dt class="mn2">采购中心</dt>
                    <dd class="on"><a href="member_buy_add.html">新增求购</a></dd>
                    <dd><a href="member_buy_list.html">求购管理</a></dd>
                    <dd><a href="member_order_list.html">采购订单</a></dd>
                </dl>
                <dl>
                    <dt class="mn3">销售中心</dt>
                    <dd><a href="member_goods_add.html">上传目录</a></dd>
                    <dd><a href="member_goods_list.html">商品管理</a>
                        <ol class="hidden">
                            <li><a href="member_goods_list.html">已上架</a></li>
                            <li><a href="member_goods_list_down.html">已下架</a></li>
                            <li><a href="member_goods_list_check.html">待审核</a></li>
                        </ol>
                    </dd>
                    <dd><a href="member_inquiry_list.html">询单管理</a>
                        <ol class="hidden">
                            <li><a href="member_inquiry_list.html">未报价</a></li>
                            <li><a href="member_inquiry_list_had.html">已报价</a></li>
                            <li><a href="member_inquiry_list_abandon.html">已放弃</a></li>
                        </ol>
                    </dd>
                    <dd><a href="member_sell_list.html">销售订单</a></dd>
                </dl>
                <dl>
                    <dt class="mn4">账号管理</dt>
                    <dd><a href="member_account_attentions.html">我的关注</a></dd>
                    <dd><a href="member_account_informations.html">账号信息</a></dd>
                    <dd><a href="member_account_transaction.html">交易资料</a></dd>
                </dl>
            </div>
        </div>
        <div class="m_con fr">
            <div class="b-bar">
                <div class="b-title"><span>新增求购</span></div>
                <div class="b-con">
                    <div class="flex b_insq">
                        <div class="flex bv">
                            <div>收货区域：</div>
                            <div><input class="form_input" type="text" id="full_address" placeholder="请选择省市区" readonly="true" style="text-indent: 10px;" value="江苏省 南京市 六合区"></div>
                        </div>
                        <div class="flex bv">
                            <div>开票类型：</div>
                            <div>
                                <select class="form_select" name="inquiry[invoice_type]" id="inquiry_invoice_type" tabindex="-1">
                                    <option value="">开票类型</option>
                                    <option value="1">增值税发票(13%)</option>
                                    <option value="2" selected="">增值税发票(普通)</option>
                                    <option value="3">不开发票</option>
                                </select>
                            </div>
                        </div>
                    </div>

                    <div class="flex b_inq_txt">
                        <b>CAS号</b>
                        <b>需求量1</b>
                        <b>需求量2</b>
                        <b>备注</b>
                        <b>操作</b>
                    </div>

                    <div class="flex b_inq_list" id="inq_list">

                        <div class="flex b_inq_item">
                            <div class="flex b_inq_item_c">
                                <div><input class="form_input" alis="input_cas" name="inquiry[cas][]" placeholder="请输入CAS号码" type="text" value=""></div>
                                <div>
                                    <input class="form_input wd80" alis="input_package1" name="inquiry[package1][]" placeholder="数量1" type="number" value="" min="0" autocomplete="off">
                                    <select class="form_select" name="inquiry[package1_unit][]" alis="input_package1_unit" tabindex="-1">
                                        <option value="">单位</option>
                                        <option value="1">mg</option>
                                        <option value="2">g</option>
                                        <option value="3">kg</option>
                                        <option value="4">ml</option>
                                        <option value="5">l</option>
                                        <option value="6">ton</option>
                                    </select>
                                </div>
                                <div>
                                    <input class="form_input wd90" alis="input_package2" name="inquiry[package2][]" type="number" value="" min="0" placeholder="数量2(选填)" autocomplete="off">
                                    <select class="form_select" name="inquiry[package2_unit][]" alis="input_package2_unit" tabindex="-1">
                                        <option value="">单位</option>
                                        <option value="1">mg</option>
                                        <option value="2">g</option>
                                        <option value="3">kg</option>
                                        <option value="4">ml</option>
                                        <option value="5">l</option>
                                        <option value="6">ton</option>
                                    </select>
                                </div>
                                <div><textarea class="form_textarea" name="inquiry[note][]" cols="20" rows="2"></textarea></div>
                                <div><a href="javascript:void(0);" class="blue_btn" name="delete">删除</a></div>
                            </div>
                            <div class="b_inq_name">二碳酸二叔丁酯Di-tert-butyl dicarbonate</div>
                        </div>
                    </div>

                    <div class="flex b_inq_more">
                        <div><a href="javascript:void(0);" id="addBtn" class="blue">+ 增加求购产品</a></div>
                        <div><button class="submit_btn wd100" onclick="javascript:void(0);">立即报价</button></div>
                    </div>
                    <div class="clearfix"></div>
                </div>
            </div>

        </div>
    </div>
    <div class="clearfix"></div>
</div>

<footer>
    <div class="footer">
        <div class="foot_con">
            <div class="ft_left">
                <div class="ft_service">
                    <img src="images/service.png">
                    <p class="yellow fz16 bold mt10">电话：025-66028182</p>
                    <p class="fz16 mt10">QQ：2850281398</p>
                    <p class="fz16 mt10">工作时间 8:30 - 17:30</p>
                </div>
            </div>
            <div class="ft_center">
                <dl>
                    <dt>新手上路</dt>
                    <dd><a href="">用户注册</a></dd>
                    <dd><a href="">隐私声明</a></dd>
                    <dd><a href="">使用须知</a></dd>
                    <dd><a href="">协议条款</a></dd>
                </dl>
                <dl>
                    <dt>联系我们</dt>
                    <dd><a href="">关于我们</a></dd>
                    <dd><a href="">联系我们</a></dd>
                    <dd><a href="">合作伙伴</a></dd>
                    <dd><a href="">通知公告</a></dd>
                </dl>
                <dl>
                    <dt>售后服务</dt>
                    <dd><a href="">开票服务</a></dd>
                    <dd><a href="">退换货服务</a></dd>
                    <dd><a href="">用户反馈</a></dd>
                    <dd><a href="">发货方式</a></dd>
                </dl>
                <dl>
                    <dt>帮助中心</dt>
                    <dd><a href="">售后政策</a></dd>
                    <dd><a href="">退换货说明</a></dd>
                    <dd><a href="">退款说明</a></dd>
                    <dd><a href="">产品目录</a></dd>
                </dl>
            </div>
            <div class="ft_right">
                <div class="ft_qrcode">
                    <img src="images/qrcode.jpg">
                    <p>关注公众号</p>
                </div>
            </div>
        </div>
        <div class="clearfix"></div>
        <div class="copyright">
            <p>版权所有 Copyright(C)2020 南京一览生物科技有限公司 <a href="http://www.beian.miit.gov.cn/" style="color: #777272;">苏ICP备20017967号-1</a></p>
        </div>
    </div>
    <div class="clearfix"></div>
</footer>
<div class="hidden" id="template">
    <div class="flex b_inq_item">
        <div class="flex b_inq_item_c">
            <div><input class="form_input" alis="input_cas" name="inquiry[cas][]" placeholder="请输入CAS号码" type="text" value=""></div>
            <div>
                <input class="form_input wd80" alis="input_package1" name="inquiry[package1][]" placeholder="数量1" type="number" value="" min="0" autocomplete="off">
                <select class="form_select" name="inquiry[package1_unit][]" alis="input_package1_unit" tabindex="-1">
                    <option value="">单位</option>
                    <option value="1">mg</option>
                    <option value="2">g</option>
                    <option value="3">kg</option>
                    <option value="4">ml</option>
                    <option value="5">l</option>
                    <option value="6">ton</option>
                </select>
            </div>
            <div>
                <input class="form_input wd90" alis="input_package2" name="inquiry[package2][]" type="number" value="" min="0" placeholder="数量2(选填)" autocomplete="off">
                <select class="form_select" name="inquiry[package2_unit][]" alis="input_package2_unit" tabindex="-1">
                    <option value="">单位</option>
                    <option value="1">mg</option>
                    <option value="2">g</option>
                    <option value="3">kg</option>
                    <option value="4">ml</option>
                    <option value="5">l</option>
                    <option value="6">ton</option>
                </select>
            </div>
            <div><textarea class="form_textarea" name="inquiry[note][]" cols="20" rows="2"></textarea></div>
            <div><a href="javascript:void(0);" class="blue_btn" name="delete">删除</a></div>
        </div>
        <div class="b_inq_name">二碳酸二叔丁酯Di-tert-butyl dicarbonate</div>
    </div>
</div>
</body>
</html>
<script type="text/javascript">
    $("#addBtn").click(function () {
        $("#inq_list").append($("#template>div").clone());
    });

    $("#inq_list").on('click','a[name=delete]',function () {
        $(this).parent().parent().parent().remove();
        //$(this).parent().parent().next().remove();
    });

</script>